package com.sudo.boot.mapper.sys.model.bo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class SysRoleBoMenu {

    @NotNull(message = "角色ID不能为空")
    private Integer roleId;

    @NotEmpty(message = "菜单ID不能为空")
    private List<Integer> menuIdList;
}
